package com.guigu.financial.mapper;

import com.guigu.financial.pojo.Borrower;

import java.util.List;

public interface BorrowerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Borrower record);

    int insertSelective(Borrower record);

    Borrower selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Borrower record);

    int updateByPrimaryKey(Borrower record);

    List<Borrower> findAll();

    List<Borrower> findByBorrower(Borrower borrower);

    //根据returnSource查询dict表中对应的name
    String selectReturnSource(int returnSource);
    //根据contactsRelation查询dict表中对应的name
    String selectContactsRelation(int contactsRelation);
    //根据industry查询dict表中对应的name
    String selectIndustry(int industry);
    //根据education查询dict表中对应的name
    String selectEducation(int education);
}